$label-width: 110px;
.crypto-form {
  .next-col-fixed-6 {
    max-width: $label-width;
    color: $gray-06;
  }
  .save-btn {
    margin-left: $label-width;
  }
  .crypto-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    &:first-child {
      margin-top: 0;
    }

    &-left {
      flex: auto;
      font-size: 14px;
      line-height: 20px;
      color: $gray-06;
    }
    &-right {
      flex-shrink: 0;
      display: flex;
      align-items: center;
      height: 48px;
      align-self: flex-start;
    }
    &-title {
      color: $gray-08;
      font-size: 14px;
      line-height: 20px;
      font-weight: 500;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    &-desc {
      font-size: 14px;
      line-height: 20px;
      color: $gray-06;
      margin-top: 8px;
      .strong {
        font-weight: 500;
      }
    }
    &-switch,
    &-btn {
      flex: none;
      margin-top: 0 !important;
      &.manual-btn {
        width: 88px !important;
      }
    }

    &-detail {
      display: flex;
      justify-content: space-between;
      margin-top: 12px;
      &-left {
        flex: 1;
        &-owner {
          max-width: 100px;
          line-height: 24px;
          color: $gray-08;
        }
        &.flex {
          display: flex;
          align-items: center;
          justify-content: flex-start;
          line-height: 20px;
          .crypto-base-info {
            display: flex;
            align-items: center;
            color: $gray-06;
            &.strong {
              color: $gray-08;
            }
            .kms-options {
              display: flex;
              align-items: center;
              .kms-help-trigger-icon {
                margin-bottom: 0 !important;
              }
            }
            margin-left: 24px;
            &:first-child {
              margin-left: 0;
            }
            &-label {
              font-weight: 500;
              padding-right: 8px;
            }

            &-value.danger {
              color: $primary-danger;
            }

            &.kms-status {
              @media screen and (max-width: 1100px) {
                display: none;
              }
            }
          }
        }
      }
      &-right {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        .ml12 {
          margin-left: 12px;
        }
        .relieve-btn {
          margin-left: 12px;
          color: $primary-danger;
          &.pending {
            color: $gray-05 !important;
          }
        }
      }
    }

    &-time {
      margin-top: 8px;
      display: flex;
      align-items: center;
      & > div:first-child {
        width: 240px;
      }
      & > div:nth-child(2) {
        width: 150px;
      }
      &-status {
        &.success {
          color: $primary-success;
        }
        &.fail {
          color: $primary-danger;
        }
      }
    }
  }
}

.crypto-docs {
  color: $primary-brand !important;
}

.crypto-setting-form {
  margin-top: 12px;
  .next-form-item.next-small {
    margin-bottom: 0;
  }
}

.crypto-key-list {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid $gray-02;
  .crypto-key-item {
    &-title,
    &-count {
      display: flex;
      align-items: center;
      justify-content: flex-start;
    }
    &-label {
      font-weight: 500;
      line-height: 32px;
      color: $gray-08;
      font-size: 14px;
      padding-right: 12px;
    }
    &-value {
      line-height: 32px;
      font-size: 14px;
      color: $gray-08;
      display: flex;
      align-items: center;
      .crypto-key-id.gray {
        color: $gray-06;
      }
      .crypto-key-img {
        width: 24px;
        height: 24px;
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #e4f5fd;
        margin-right: 8px;
      }
      .count {
        margin-right: 8px;
      }
      .crypto-key-tag {
        margin: 0 0 0 8px;
        position: relative;
        .next-color-tag-children {
          display: inherit;
        }
      }
    }
  }
}
